home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000251_news@columbia.edu _Wed Feb 16 15:10:14 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03167
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:14 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA01339
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 15 Feb 2000 12:42:40 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: "AMT" <amt.4243@wanadoo.fr>
  10. Subject: automatically run commands on differents IP nodes
  11. Date: Tue, 15 Feb 2000 18:09:28 +0100
  12. Organization: AMT
  13. Message-ID: <88c0s3$n3h$1@wanadoo.fr>
  14. To: kermit.misc@columbia.edu
  15.  
  16. I have a problem with c-Kermit
  17. i work on hp/UX 10.0 system i want to run commands on different nodes by the
  18. same script.
  19.  
  20. in this script i have coded the command
  21. cat /etc/hosts | while read LIGNE
  22. do
  23.       EQUIP=`∩┐╜cho $LIGNE | awk '{print $1}'
  24.      kermit -C set host $EQUIP, take filexx;
  25.      echo "aaaa"
  26. done
  27. echo bbbb
  28. end
  29. filexx contains
  30. def unix do vax,  set term byte 7
  31. set input echo off
  32. set input silence 1
  33. set input timeout-action proceed
  34. ...
  35. set exit warning off
  36.  
  37. input 2 OK
  38. if success go to suit
  39. end
  40. :suit
  41. output {ATDS\13}
  42. ...
  43. end
  44.  
  45. if the nodes where i want to execute the command are in the good state it's
  46. ok, it is good for all the nodes, but for example, if i can't connect the
  47. third node of the file, it's ok for the nodes 1 and 2, and i have the
  48. message "cant connect to $EQUIP , connection timed out" , i come back to my
  49. script but it stop the cat and make the echo of aaaa and bbbb and stop.
  50.  
  51. thanks for your help !
  52.  
  53.  
  54.  
  55.  
  56. i want to run comma
  57.  
  58.